#!/bin/bash

mkdir $HOME/.docker/nginx_proxy/
cp nginx.conf $HOME/.docker/nginx_proxy/

docker run -d \
    --name nginx_proxy \
    -p 8123:8123 \
    -v $HOME/.docker/nginx_proxy/nginx.conf:/etc/nginx/nginx.conf \
    nginx_proxy:1.17.4